<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.Chart.UI.SurfacePropertiesResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chartui="clr-namespace:OpenLS.Chart.UI"
    xmlns:chart="http://schemas.Kherty.com/office/2007/chart"
    xmlns:drawing="http://schemas.Kherty.com/office/2007/drawing"
    xmlns:drawing2="clr-namespace:OpenLS.Drawing.UI;assembly=OpenLS.Drawing.UI"
    xmlns:Internals="clr-namespace:OpenLS.Chart.UI.Internals">
    <ResourceDictionary.MergedDictionaries>
        <drawing:ColorResources/>
        <drawing:FillResources/>

    </ResourceDictionary.MergedDictionaries>
    <DataTemplate DataType="{x:Type chart:Surface}">
        <TabControl TabStripPlacement ="Left" chartui:ChartElement.ViewModel="{Binding Converter={x:Static Internals:ChartConverters.ViewModelFactory}}">
            <TabItem Header="{x:Static Internals:UIStringTable.Fill}"> 
                <StackPanel>
                    <GroupBox>
                        <!-- <ContentControl Content="{Binding}" ContentTemplate="{x:Static chartui:ShapedPropertiesResources.FillPropertiesTemplate}"/> -->
                        <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).FillFormatter, RelativeSource={RelativeSource Self}}" />

                    </GroupBox>
                </StackPanel>
            </TabItem>
        </TabControl>
    </DataTemplate>
</ResourceDictionary>